copy-tarballs: drop perl bindings#361700
Conversation
|
@vcunat can you give me some code how to test it? |
|
Ok. Looks like I also should replace hashFile |
9a65523 to
32beb24
Compare
|
Nit: is it worth using |
f9fcb5e to
89093ba
Compare
It's less mental overhead for me to have to think about potential escaping issues, so I find it easier to read this way. |
|
Tested and runs into the following error on 4792576 |
|
Bisected and fixed in #414869. Now I applied this patch for nixos/infra to pluto.nixos.org and mirror-tarballs.service works again. |
With NixOS 25.05 there is no nix_2_18 anymore and now we're on an newer version and the perl bindings changed.
tarball-mirror: apply github.com/NixOS/nixpkgs/pull/361700
|
Can you rebase? |
This hopefully makes it easier to re-write this script in a language that people understand. Because it's shelling out, it's likely slower but hopefully still fast enough for our purposes.
|
@mweinelt Done |
89093ba to
e614627
Compare
This hopefully makes it easier to re-write this script in a language that people understand. Because it's shelling out, it's likely slower but hopefully still fast enough for our purposes.
Things done
I only tested local dry run without any credentials...
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.